home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / SCRIPT.PAK / MENUHOOK.SPP < prev    next >
Text File  |  1997-05-06  |  976b  |  32 lines

  1. //----------------------------------------------------------------------------
  2. // cScript
  3. // (C) Copyright 1987, 1997 by Borland International, All Rights Reserved
  4. //
  5. // MENUHOOK.SPP
  6. //    Utility methods for adding scripted menu choices 
  7. //
  8. // $Revision:   1.5  $
  9. //
  10. //----------------------------------------------------------------------------
  11.  
  12. import "MENUHOOK.DLL" {
  13.     int i_assign_to_view_menu( char *,char *, char *, char *);
  14.     int i_release_view_menu_item(char *,char * );
  15.    int i_define_button( char *, char *, char *, char *, int );
  16. }
  17.  
  18. assign_to_view_menu( view, menu_text, script_text, hint_text )
  19. {
  20.      i_assign_to_view_menu( view, menu_text, script_text, hint_text );
  21. }
  22.  
  23. remove_view_menu_item( view, menu_text )
  24. {
  25.      i_release_view_menu_item( view, menu_text );
  26. }
  27.  
  28. define_button( button_name, script_text, hint_text, tooltip_text, button_index)
  29. {
  30.     i_define_button( button_name, script_text, hint_text, tooltip_text, button_index);
  31. }
  32.